﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EventbriteService.Model
{
    public class User
    {
        public User()
        {
            Emails = new List<EmailInfo>();
        }

        public long? Id { get; set; }
        public string Email { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string Name { get; set; }
        public List<EmailInfo> Emails { get; set; }
    }

    public class EmailInfo
    {
        public string Email { get; set; }
        public bool Verified { get; set; }
        public bool Primary { get; set; }
    }
    
    public class Subuser
    {
        public long? Id { get; set; }
        public string Email { get; set; }
    }
}
